package com.worldcup.model.dto;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author duwan.zq
 * @date 2018/06/06
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class CountrySupportDTO implements Serializable{

    @NotBlank
    private String openid;

    @NotEmpty
    private List<Integer> countryIds;

    @Override
    public String toString() {
        return "CountrySupportDTO{" +
            "openid='" + openid + '\'' +
            ", countryId=" + countryIds +
            '}';
    }
}
